package com.kingdee.eas.jky.basedata;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class ContractClassFactory
{
    private ContractClassFactory()
    {
    }
    public static com.kingdee.eas.jky.basedata.IContractClass getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.jky.basedata.IContractClass)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("8FA05601") ,com.kingdee.eas.jky.basedata.IContractClass.class);
    }
    
    public static com.kingdee.eas.jky.basedata.IContractClass getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.jky.basedata.IContractClass)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("8FA05601") ,com.kingdee.eas.jky.basedata.IContractClass.class, objectCtx);
    }
    public static com.kingdee.eas.jky.basedata.IContractClass getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.jky.basedata.IContractClass)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("8FA05601"));
    }
    public static com.kingdee.eas.jky.basedata.IContractClass getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.jky.basedata.IContractClass)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("8FA05601"));
    }
}